Configuring the Device's DHCP Server
By default, the device's embedded DHCP server is enabled for the LAN, and with default IP pool addresses relating to the default subnet LAN. You can disable the DHCP server, or modify the IP address pool. The DHCP server allocates this pool of IP addresses to the computers connected to its LAN interface.
|
➢
|
To enable / disable the device's DHCP server: |
|
1.
|
Establish serial communication with the device. |
|
2.
|
At the prompt, type the following command to access the router configuration mode: |
# configure data
|
3.
|
Access the data LAN switch interface: |
(config-data)# interface vlan 1
|
4.
|
To disable the DHCP server: |
(conf-if-VLAN 1)# no service dhcp
|
5.
|
To enable DHCP server: |
|
6.
|
Configure the pool of IP addresses: |
(conf-if-VLAN 1)# ip dhcp-server network 10.8.6.84 10.8.6.89 255.255.255.0
|
a.
|
Enable DHCP server functionality: |
(conf-if-VLAN 1)# service dhcp
|
b.
|
Save your settings with a flash burn: |
(conf-if-VLAN 1)# do write